﻿using BigEgg.Framework.Applications.ViewModels;
using System.ComponentModel.Composition;

namespace FMStudio.Templates.DesignTool.Application.Services
{
    [Export(typeof(IShellService)), Export]
    internal class ShellService : DataModel, IShellService
    {
        #region Fields
        private object shellView;
        private string documentName;
        #endregion

        #region Properties
        public object ShellView
        {
            get { return this.shellView; }
            set
            {
                if (this.shellView != value)
                {
                    this.shellView = value;
                    RaisePropertyChanged("ShellView");
                }
            }
        }

        public string DocumentName
        {
            get { return this.documentName; }
            set
            {
                if (this.documentName != value)
                {
                    this.documentName = value;
                    RaisePropertyChanged("DocumentName");
                }
            }
        }
        #endregion
    }
}
